<div id="pageInfo" data-title="退款详情" data-goback="{url:/ucenter/refunds}"></div>
<div class="refunds_detail">
    <table>
        <tr>
            <th>订单号：</th>
            <td>{$this->data['order_no']}</td>
        </tr>
        <tr>
            <th>处理结果：</th>
            <td>{echo:Order_Class::refundmentText($this->data['pay_status'])}</td>
        </tr>
        <tr>
            <th>退款商品：</th>
            <td>
                {foreach:items = $this->data['goods']} {set:$goodsInfo = JSON::decode($item['goods_array'])}
                <p>
                    <a href="{url:/site/products/id/$item['goods_id']}">
                        {$goodsInfo['name']} {if:$goodsInfo['value']}{$goodsInfo['value']}{/if} X {$item['goods_nums']}
                    </a>
                </p>
                {/foreach}
            </td>
        </tr>
        {if:$this->data['seller_id']}
        <tr>
            <th>商家主页：</th>
            <td><a href="{url:/site/home/id/$this->data['seller_id']}">进入主页</a></td>
        </tr>
        {/if}
        <tr>
            <th>申请时间：</th>
            <td>{$this->data['time']}</td>
        </tr>
        {if:$this->data['amount'] > 0}
        <tr>
            <th>退款金额：</th>
            <td><em>{$this->data['amount']}</em></td>
        </tr>
        {/if}
        <tr>
            <th>处理时间：</th>
            <td>{echo:$this->data['dispose_time']?$this->data['dispose_time']:'未处理';}</td>
        </tr>
        <tr>
            <th>处理建议：</th>
            <td>{echo:$this->data['dispose_idea']?$this->data['dispose_idea']:'未回复'}</td>
        </tr>
        <tr>
            <th>退款原因：</th>
            <td>{$this->data['content']}</td>
        </tr>
    </table>
</div>
<script>
//DOM加载完毕
$(function(){
    // 隐藏底部导航
    hideNav();
})
</script>
